package com.easylinkin.linkappapi.childinspection.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.easylinkin.linkappapi.childinspection.entity.InspectionQrCodeEntity;
import com.easylinkin.linkappapi.childinspection.vo.BaseVo;
import com.easylinkin.linkappapi.childinspection.vo.InspectionQrCodeVo;
import com.easylinkin.linkappapi.childinspection.vo.RelationVo;
import com.easylinkin.linkappapi.common.model.RequestModel;

/**
 * @author linWenLe
 * @Date: 2024/3/27
 * @Description:
 */
public interface InspectionQrCodeService extends IService<InspectionQrCodeEntity> {

    IPage<InspectionQrCodeEntity> getList(RequestModel<InspectionQrCodeVo> restPage);

    void insert(InspectionQrCodeVo entity);

    void update(InspectionQrCodeEntity entity);

    void delete(String id);

    String createCode();

    void relationPoint(RelationVo relationVo);

    IPage<InspectionQrCodeEntity> getUseList(RequestModel<BaseVo> restPage);

    void relieve(RelationVo relationVo);

    InspectionQrCodeEntity getQrCodeInfo(String id);
}
